Skip to content

Commit c547df3

Browse files
committed
Fix the last unit test
1 parent 4b4df79 commit c547df3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/lib/protobuf_config/src/contracts.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ impl ProtoRepr for proto::Contracts {
8787
validator_timelock_addr: Some(format!("{:?}", this.validator_timelock_addr)),
8888
default_upgrade_addr: Some(format!("{:?}", this.default_upgrade_addr)),
8989
multicall3_addr: Some(format!("{:?}", this.l1_multicall3_addr)),
90-
base_token_addr: Some(format!("{:?}", this.base_token_addr)),
90+
base_token_addr: this.base_token_addr.map(|a| format!("{:?}", a)),
9191
}),
9292
l2: Some(proto::L2 {
9393
testnet_paymaster_addr: this.l2_testnet_paymaster_addr.map(|a| format!("{:?}", a)),

0 commit comments

Comments
 (0)