Skip to content

Commit 4f0ea80

Browse files
committed
refactor: rename "gateway" to "sender"
Signed-off-by: Alexis Asseman <[email protected]>
1 parent 05cac7c commit 4f0ea80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tap-agent/src/tap/escrow_adapter.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ impl EscrowAdapterTrait for EscrowAdapter {
5555
.get(&sender)
5656
.ok_or(AdapterError::AdapterError {
5757
error: format!(
58-
"Gateway {} not found in escrow balances map, could not get available escrow.",
58+
"Sender {} not found in escrow balances map, could not get available escrow.",
5959
sender
6060
)
6161
.to_string(),
6262
})?
6363
.to_owned();
6464
let balance: u128 = balance.try_into().map_err(|_| AdapterError::AdapterError {
6565
error: format!(
66-
"Gateway {} escrow balance is too large to fit in u128, \
66+
"Sender {} escrow balance is too large to fit in u128, \
6767
could not get available escrow.",
6868
sender
6969
)
@@ -87,7 +87,7 @@ impl EscrowAdapterTrait for EscrowAdapter {
8787
if current_available_escrow < value {
8888
return Err(AdapterError::AdapterError {
8989
error: format!(
90-
"Gateway {} does not have enough escrow to subtract {} from {}.",
90+
"Sender {} does not have enough escrow to subtract {} from {}.",
9191
sender, value, *fees
9292
)
9393
.to_string(),

0 commit comments

Comments
 (0)