Skip to content

Commit

Permalink
fix(redis): Default account routing relation must be NonRoutingAccount
Browse files Browse the repository at this point in the history
  • Loading branch information
gakonst committed Sep 24, 2019
1 parent e857b9d commit 2a12b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/interledger-store-redis/src/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ impl FromRedisValue for AccountWithEncryptedTokens {
RoutingRelation::from_str(relation.as_str())
.map_err(|_| RedisError::from((ErrorKind::TypeError, "Invalid Routing Relation")))?
} else {
RoutingRelation::Child
RoutingRelation::NonRoutingAccount
};
let round_trip_time: Option<u32> = get_value_option("round_trip_time", &hash)?;
let round_trip_time: u32 = round_trip_time.unwrap_or(DEFAULT_ROUND_TRIP_TIME);
Expand Down

0 comments on commit 2a12b20

Please sign in to comment.